package com.jiuyin.dianjing.model;

import java.util.List;

public class CompeteDetail {
    public List<String> headerList;
    /**
     * 比赛模式（0 团队 1 个人）
     */
    public int tactics;
    /**
     * 用户申请状态 （0 申请中 1同意 2拒绝 3可以申请）
     */
    public int status;
    public Course course;
    public Competition competition;

    @Override
    public String toString() {
        return "CompeteDetail{" +
                "headerList=" + headerList +
                ", tactics=" + tactics +
                ", status=" + status +
                ", course=" + course +
                ", competition=" + competition +
                '}';
    }

    public class Course {
        public String competition_id;
        /**
         * 比赛状态（0未开始 1开始报名 2 报名结束 3 开始比赛 4 比赛结束）
         */
        public int competeCourse;
        public List<String> courseTime;

        @Override
        public String toString() {
            return "Course{" +
                    "competition_id='" + competition_id + '\'' +
                    ", competeCourse=" + competeCourse +
                    ", courseTime=" + courseTime +
                    '}';
        }
    }

    public class Competition {
        public String sponsor;
        public String flock;
        public String creator;
        /**
         * 比赛规则
         */
        public String game_rule;
        public String scheme;
        /**
         * 是否可加入（0 不可以 1可以）
         */
        public int isjoin;
        public String mobile;
        /**
         * 奖金规则
         */
        public String bonus_rule;
        /**
         * 是否通过审核（0 没有 1通过）
         */
        public int ispass;
        /**
         * 比赛简介
         */
        public String intro;
        /**
         * 比赛名称
         */
        public String name;
        /**
         * 宣传效果
         */
        public String publicity;
        /**
         * 主办方 负责人名字
         */
        public String sponsor_name;
        /**
         * 比赛地点
         */
        public String address;
        /**
         * 最多人数
         */
        public int join_num;

        @Override
        public String toString() {
            return "Competition{" +
                    "sponsor='" + sponsor + '\'' +
                    ", flock='" + flock + '\'' +
                    ", creator='" + creator + '\'' +
                    ", game_rule='" + game_rule + '\'' +
                    ", scheme='" + scheme + '\'' +
                    ", isjoin=" + isjoin +
                    ", mobile='" + mobile + '\'' +
                    ", bonus_rule='" + bonus_rule + '\'' +
                    ", ispass=" + ispass +
                    ", intro='" + intro + '\'' +
                    ", name='" + name + '\'' +
                    ", publicity='" + publicity + '\'' +
                    ", sponsor_name='" + sponsor_name + '\'' +
                    ", address='" + address + '\'' +
                    ", join_num=" + join_num +
                    '}';
        }
    }
}
